package com.xjrsoft.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties("sync-task.organization")
public class SyncOrganizationConfig {

    private Boolean enabled;

    private Long interval;

    private String tokenParamKey;

    private String tokenParamType;

    private RequestInfoConfig token;

    private RequestInfoConfig department;

    private RequestInfoConfig post;

    private RequestInfoConfig user;
}
